/*
 *Copyright (c) 2012 Mango Persistence Model
 */
package ext.mango.aa.eo;

import mango.orm.entity.Entity;
import mango.orm.entity.Table;
import mango.orm.entity.Column;
import mango.orm.OrmTypes;
import java.sql.Types;

/**
 * AAMenu
 * @serial 1339829353109
 */
@Table("AAMENU")
public class EOAAMenu extends Entity {
    private static final long serialVersionUID = -133982935310956954L;

    /**
     * Name    : id
     * Code    : id
     * Comment : 
     **/
    @Column(column="ID", primary=true, type=Types.VARCHAR)
    public String getId() {
        return OrmTypes.convert(String.class, this.get("ID"));
    }

    public EOAAMenu setId(String id) {
        this.set("ID", id);
        return this;
    }

    /**
     * Name    : parent
     * Code    : parent
     * Comment : 
     **/
    @Column(column="PARENT", primary=false, type=Types.VARCHAR)
    public String getParent() {
        return OrmTypes.convert(String.class, this.get("PARENT"));
    }

    public EOAAMenu setParent(String parent) {
        this.set("PARENT", parent);
        return this;
    }

    /**
     * Name    : leaf
     * Code    : leaf
     * Comment : 
     **/
    @Column(column="LEAF", primary=false, type=Types.VARCHAR)
    public String getLeaf() {
        return OrmTypes.convert(String.class, this.get("LEAF"));
    }

    public EOAAMenu setLeaf(String leaf) {
        this.set("LEAF", leaf);
        return this;
    }

    /**
     * Name    : title
     * Code    : title
     * Comment : 
     **/
    @Column(column="TITLE", primary=false, type=Types.VARCHAR)
    public String getTitle() {
        return OrmTypes.convert(String.class, this.get("TITLE"));
    }

    public EOAAMenu setTitle(String title) {
        this.set("TITLE", title);
        return this;
    }

    /**
     * Name    : link
     * Code    : link
     * Comment : 
     **/
    @Column(column="LINK", primary=false, type=Types.VARCHAR)
    public String getLink() {
        return OrmTypes.convert(String.class, this.get("LINK"));
    }

    public EOAAMenu setLink(String link) {
        this.set("LINK", link);
        return this;
    }

    /**
     * Name    : iconCls
     * Code    : iconCls
     * Comment : 
     **/
    @Column(column="ICONCLS", primary=false, type=Types.VARCHAR)
    public String getIconCls() {
        return OrmTypes.convert(String.class, this.get("ICONCLS"));
    }

    public EOAAMenu setIconCls(String iconCls) {
        this.set("ICONCLS", iconCls);
        return this;
    }

    /**
     * Name    : menuOrder
     * Code    : menuOrder
     * Comment : 
     **/
    @Column(column="MENUORDER", primary=false, type=Types.INTEGER)
    public Integer getMenuOrder() {
        return OrmTypes.convert(Integer.class, this.get("MENUORDER"));
    }

    public EOAAMenu setMenuOrder(Integer menuOrder) {
        this.set("MENUORDER", menuOrder);
        return this;
    }

    /**
     * Name    : makedate
     * Code    : makedate
     * Comment : 
     **/
    @Column(column="MAKEDATE", primary=false, type=Types.TIMESTAMP)
    public java.util.Date getMakedate() {
        return OrmTypes.convert(java.util.Date.class, this.get("MAKEDATE"));
    }

    public EOAAMenu setMakedate(java.util.Date makedate) {
        this.set("MAKEDATE", makedate);
        return this;
    }

}
